package com.csdj.service;

import com.csdj.pojo.Config;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ConfigService {

    public Integer insertConfig(Config config);

    public Integer updateConfig(Config config);

    public List<Config> selectAllByType(String type);

    public PageInfo<Config> selectPage(Integer pageNo);

    public List<Config> selectAllByTypeAndKey(String type,String key);
}
